#pragma once
#include <tchar.h>
#include <stdlib.h>
#include <string>
// #include <ms/tstring.h>

class to_string{
public:
    to_string(){}
	~to_string(){;}

    static std::string inttostring(int n)
    {
        char buf[64];
        sprintf_s(buf, "%d", n);
        return buf;
    }
    static std::string doubletostring(double n)
    {
        char buf[64];
        sprintf_s(buf, "%f", n);
        return buf;
    }
private:
    const char * str;
};

